<?php

using('Library.Widgets.Form');
using('Library.Widgets.RecordSet');

class Module_Admin_imagegallery extends Admin_IModule
{
    var $_Name  = 'imagegallery';
    var $_Title = 'Image Gallery';
    
    /**#@+
     * Required Core Objects
     *
     * These are references to the core objects required by this
     * class.
     *
     * @access private
     * @var    object
     */
    var $_Error;
    var $_Profiler;
    var $_DAL;
    var $_Model;
    /**#@-*/

    function __construct()
    {
        // Get references to required objects
        $this->_Error     = &Vault::Get('Debug_Error');
        $this->_Profiler  = &Vault::Get('Debug_Profiling');
        $this->_DAL       = &Vault::Get('DAL');
        $this->_Model     = &Vault::Get('Model');

        // Register Article Specific Actions
        $this->RegisterAction(array('imagegallery'), 'Galleries', 'ManageImageGallery_List');
        $this->RegisterAction(array('imagegallery', 'gallery', 'create'), 'Gallery Create', 'ManageImageGallery_GalleryCreate');
        $this->RegisterAction(array('imagegallery', 'gallery', 'modify'), 'Gallery Modify', 'ManageImageGallery_GalleryModify');
        $this->RegisterAction(array('imagegallery', 'gallery', 'delete'), 'Gallery Delete', 'ManageImageGallery_GalleryDelete');
        $this->RegisterAction(array('imagegallery', 'picture', 'create'), 'Picture Create', 'ManageImageGallery_PictureCreate');
        $this->RegisterAction(array('imagegallery', 'picture', 'modify'), 'Picture Modify', 'ManageImageGallery_PictureModify');
        $this->RegisterAction(array('imagegallery', 'picture', 'delete'), 'Picture Delete', 'ManageImageGallery_PictureDelete');
        
        // Call Admin_IModule constructor (we call it last so it has access to the actions array)
        parent::__construct();        
    }


    /*
     * Action Methods
     */
    
    function ManageImageGallery_List()
    {
        
    }
    
    function ManageImageGallery_GalleryCreate()
    {
        
    }
    
    function ManageImageGallery_GalleryModify()
    {
        
    }
    
    function ManageImageGallery_GalleryDelete()
    {
        
    }
    
    function ManageImageGallery_PictureCreate()
    {
        
    }
    
    function ManageImageGallery_PictureModify()
    {
        
    }
    
    function ManageImageGallery_PictureDelete()
    {
        
    }
    
    /*
     * Private Module Methods 
     */
}

?>